<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<h2>用户列表</h2>
	<hr>
	<p>
		<%= title %>
	</p>

	<hr>
	<ul>
		<% for(var i = 0, length = userData.length; i < length; i++){ %>
			<li><%= userData[i]['id']%>=== <%= userData[i]['username']%></li>
		<%}%>
	</ul>

	<hr>
	<ul>
		<% userData.forEach(function(ele, index){%>
		<li><%= ele['username']%></li>
		<%})%>
	</ul>

</body>
</html>